﻿using System;
using System.ComponentModel.DataAnnotations;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using Hicap.AuthorizationServer.Core.Models.Base.Const;
using Hicap.AuthorizationServer.Core.Models.Base.Interface;
using Hicap.AuthorizationServer.Core.Models.Sys;

namespace Hicap.AuthorizationServer.Core.Models.Base
{
    [Serializable]
    public abstract partial class EntityBase : FullAuditedEntity<int>, IPassivable, IEntity
    {
        /// <summary>
        ///是否激活
        /// </summary>
        public virtual bool IsActive { get; set; }

        protected EntityBase()
        {
            IsActive = true;
        }
    }
}